<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="p" uri="/WEB-INF/pages.tld"%>  
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
	<s:form action="listPersonPages" method="post">
		id:<s:textfield name="id"></s:textfield>
		name:<s:textfield name="name"></s:textfield>
		<s:submit value="submit" ></s:submit>
	</s:form>  
	<br>共 <s:property value="total"/>页  第 <s:property value="pageNo"/>页<br><br>
	<p:pages pageNo="pageNo" total="total" includes="id,name" styleClass="page" theme="number"/>
	<br>
	<table border="1">
		<tr>
			<td>序号</td>
			<td>名字</td>
			<td>地址</td>
		</tr>
		<s:iterator value="l" status="status" >
			<tr>   
		    	<td><s:property value="id" /></td>   
		    	<td><s:property value="name" /></td>   
		    	<td><s:property value="address" /></td>
		    </tr> 
		</s:iterator>  
	</table>
	
</body>
</html>